<template>
  <div class="warp-dev" id="sceneBox">
    <div class="main-dev">
      <div id="main"
           v-loading="pageLoad"
           :element-loading-text="pageLoadText"
           element-loading-spinner="el-icon-loading"
           element-loading-background="rgba(255, 255, 255, 1)">
        <router-view v-if="!pageLoad"></router-view>
      </div>
    </div>
  </div>
</template>

<script>
// sidebar组件仅开发时使用，发布后，请删除sidebar, 以及嵌套在外层的 *-dev的div
/* import sidebar from '@/views/group-profile/sidebar' */

export default {
    /* components: { sidebar }, */
    name: 'app',
    data() {
        return {
            pageLoad: false,
            pageLoadText: '拼命加载中',
        }
    },
    created() {

    }
}
</script>
<style lang="scss" scoped>
  .warp-dev {
    display: flex;
    height: 100%;

    .main-dev {
      flex: 1;
      width: 100%;
      height: 100%;
      overflow: auto;

      > div {
        height: 100%;
      }
    }
  }
</style>
